﻿namespace Game
{
    public class SceneObjectFaceAndHitTransition : SceneObjectStateTransition
    {
        public SceneObjectFaceAndHitTransition(int fromState, int toState, int priority) : base(fromState, toState, priority)
        {
        }

        public override bool CanTransfer(SceneObjectBTContext context)
        {
            return (context as SceneBattleObjectBTContext).collidedEntity != null;
        }
    }
}